package com.hmall.mapper;

import com.hmall.model.Diction;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface DictionMapper extends MyMapper<Diction> {
    //通过key 获取
   Diction selectByDictionKey(@Param("key")String key);

    String selectByKeyAndValue(@Param("diction_key") String diction_key,@Param("value") String value);
}